/*
Displays image features from a file on an image

Copyright (C) 2006-2010  Rob Hess <hess@eecs.oregonstate.edu>

@version 1.1.2-20100521
*/

#include "imgfeatures.h"
#include "utils.h"

#include <opencv\cxcore.h>
#include <opencv\highgui.h>

#include <stdio.h>

/******************************** Globals ************************************/

char* feat_file = "..\\beaver.sift";
char* img_file = "..\\beaver.png";
int feat_type = FEATURE_LOWE;

/********************************** Main *************************************/

//
//int main( int argc, char** argv )
//{
//	IplImage* img;
//	struct feature* feat;
//	char* name;
//	int n;
//
//	img = cvLoadImage( img_file, 1 );
//	if( ! img )
//		fatal_error( "unable to load image from %s", img_file );
//	n = import_features( feat_file, feat_type, &feat );
//	if( n == -1 )
//		fatal_error( "unable to import features from %s", feat_file );
//	name = feat_file;
//
//	draw_features( img, feat, n );
//	cvNamedWindow( name, 1 );
//	cvShowImage( name, img );
//	cvWaitKey( 0 );
//	return 0;
//}